<!DOCTYPE html>
<html>

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width = device-width, initial-scale = 1.0, minimum-scale = 1.0, maximum-scale = 1.0, user-scalable = no"
    />
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no">
    <meta name="keywords" content="" />
    <meta name="description" content="" />
    <title></title>
    <link rel="stylesheet" href="css/reset.css">
    <link type="text/css" href="css/public.css" rel="stylesheet" />
    <link type="text/css" href="css/style.css" rel="stylesheet" />
    <link type="text/css" href="css/wode.css" rel="stylesheet" />
		<link href="css/reset.css" type="text/css" rel="stylesheet" />
		<link href="css/find.css" type="text/css" rel="stylesheet" />
    <script>
        var deviceWidth = Math.min(640, window.innerWidth)
        document.documentElement.style.fontSize = deviceWidth / 7.5 + "px"
    </script>
		<script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
    <script src="js/core.js"></script>
    <script src="js/index.js"></script>
		<!--商圈 -->
		<script src="js/shangquan.js"></script>
       <script type="text/javascript" src="js/TouchSlide.1.1.js"></script>
		<script type='text/javascript' src='js/swiper.min.js'></script>
		<style>
			       .tempWrap{
			       	height:188px;
			       }
							#lunbotus{
								height:188px;
							}
		        .zhongjjian {
		            margin-right: 75px;
		            margin-top: -91px;
		        }
						.fabu_geren2 img {
								width: 50px;
								height: 50px;
								margin-left: 20px;
								margin-top: 3px;
								opacity: 1.4;
								/*透明度*/
								position: absolute filter:alpha(opacity=40);
								border-radius: 100px;
						}
						.slideBox .hd {
								width: 100%;
								overflow: hidden;
								font-size: 0;
								position: absolute;
								bottom: 0;
								text-align: center;
						}
		
						.slideBox .hd ul {
								display: inline-block;
								padding-top: 5px;
						}
				
						.slideBox .hd li {
								display: inline-block;
								width: 10px;
								height: 10px;
								background: rgba(0, 0, 0, 0.2);
								margin: 0 4px;
								vertical-align: top;
								overflow: hidden;
								-webkit-border-radius: 10px;
								-moz-border-radius: 10px;
								border-radius: 10px;
						}
		      
						.slideBox .hd li.on {
								background: #000;
						}
		         .slideBox .bd li {
		         		width: 7.5rem;
		         		height: 188px;
								overflow: hidden;
		         }
						.slideBox .bd li img {
               width: 100%;
							 height:100%;
							 object-fit: cover;
						}
						
				 </style>
</head>
<body>
     <!--header-->
    <div class="header">
        <header class="p_header">
            <h1 class="p_dizhi">
                <a href="1.4.0seach.html" style="width:100%;  margin-right: 1%;" class="top_seach">
                    <img src="images/top_seach.png" />请输入关键词搜索</a>
            </h1>
						<div class="header_rihgt"><img src="images/Scan@2x.png" /></div>
        </header>
    </div>
    <!--banner-->
    <div id="slideBox" class="slideBox" style="height:188px;">
        <div class="bd" class="swiper-container" style="height:100%;">
            <ul id="lunbotus" class="swiper-wrapper" style="height:100%;">
            </ul>
        </div>
        <div class="hd">
            <ul></ul>
        </div>
    </div>
    <!--公告-->
    <div class="index_gonggao">
        <div class="index_gonggao_con clearfix">
            <h6>
                <img src="images/gonggao.png">
            </h6>
            <ul id="message" class="swiper-slide"></ul>
						<div class="index_gonggao_con_right"><img src="images/celebrate.png"></div>
        </div>
    </div>
    <div class="public-jianxi"></div>
    <!--求购平台-->
    <div class="index_qiugou clearfix">
        <dl>
            <a href="4.2.0maijiaqiugou.html" class="clearfix">
                <dt class="index_dd">
                </dt>
                <dd class="qiugoupingtai"></dd>
            </a>
        </dl>
        <dl>
            <a href="4.2.3changjiaweihuo.html" class="clearfix">
                <dt  class="index_dd1">
                </dt>
                <dd class="qiugoupingtai1"></dd>
            </a>
        </dl>
    </div>
    <div class="public-jianxi"></div>
    <div class="public-jianxi"></div>
    <input type="hidden" id="tuijians" value="1" />
    <!--限时抢购-->
    <input type="hidden" id="shijian" />
		<div class="index_xianshi clearfix">
      <div class="index_xianshi_left">
			<div class="index_xianshi_leftContent_left">
				<h4>限时抢购</h4>
				<div class="time1 clearfix">
					<div class="colockbox fl" id="demo01" style="width: 100px;">
						<div>
							<span class="hour" id="shi"></span> 
							<span style="background:#fff;color:#ccc;width:10px;display: inline-block;">:</span>
						</div>
						<div>
							<span class="hour" id="fen"></span> 
							<span style="background:#fff;color:#ccc;width:10px;display: inline-block;">:</span>
						</div>
						<div>
							<span class="hour" id="miao"></span> 
						</div>
					</div>
				</div>
				<div class="dixiao"><p>好货低至5元</p></div>
					
			</div>
			<div class="index_xianshi_leftContent_right"><img src="images/add/TB16445XZyYBuNkSnfowu3WgVXa.png"></div>
		</div>  
		<div class="index_xianshi_right" id="rightList"></div>
    </div>
		 <!--品牌大本营 -->
		<div class="ying"></div> 
		 <!--商圈 -->
    <div class="shangquan">
			<div class="shangquan_img">
				<img src="images/add/shangquan.png" />
			</div>
			<div id="shangquan1"></div>
		</div>
		<!--内容-->
    <div class="dianpu_title1 w_xxtaba">
        <ul class="clearfix w_xxtab_tit">
            <li class="curr">
                <a href="javascript:selectGoods(1);">推荐</a>
            </li>
            <li>
                <a href="javascript:selectGoods(2);">上新</a>
            </li>
            <li>
                <a href="javascript:selectGoods(3);">关注</a>
            </li>
            <li>
                <a href="javascript:selectGoods(4);">低价</a>
            </li>
            <li>
                <a href="javascript:selectGoods(5);">中等</a>
            </li>
            <li>
                <a href="javascript:selectGoods(6);">高档</a>
            </li>
        </ul>
        <div class="w_ddcon11" id="goodslist"></div>
				
        <div class="w_ddcon11" id="goodslist2"></div>

        <div class="w_ddcon11" id="goodslist3"></div>

        <div class="w_ddcon11" id="goodslist4"></div>

        <div class="w_ddcon11" id="goodslist5"></div>
		
        <div class="w_ddcon11" id="goodslist6"></div>
    </div>
		
    <div class="qiugou_fabu" id="qiugou_fabus" style="display: none;">
        <a href="#" onclick="qiugoujia()">
            <img style="width: 40px;height: 40px;" src="images/add/totop2.png" />
        </a>
    </div>
    <script>
        function qiugoujia() {  
            $('body,html').animate({       
                scrollTop: 0
            }, 1000);
        }

        /**
         * 图片保持不失真
         * 
         */
        
//                 function setImg(w, h){  
//                     var imgList = document.getElementsByTagName("img");  
//                     for(var i=0;i<imgList.length;i++){  
//                         if(imgList[i].width>w || imgList[i].height>h){  
//                             imgList[i].width=w;  
//                             imgList[i].heigth=h;  
//                         }  
//                     }  
//                 }  
//                 setImg(400,400);  
    </script>  
    <!-- footer -->
    <div class="footer">
        <!-- footer -->
        <footer class="clearfix">
            <div class="p_footer">
                <a href="index.html" onclick="goclicked(this)" id="zhuye" class="p_on">
                    <i class="ico_index footer-ico01"></i>
                    <span>主页</span>
                </a>
            </div>
            <div class="p_footer">
                <a onclick="goclicked1(this)" id="zhaohuo">
                    <i class="ico_index footer-ico02"></i>
                    <span>发布</span>
                </a>
            </div>
            <div class="p_footer" id="jiarujinghuoches">
                <a href="11.0.0gouwuche.html" onclick="goclicked(this)">
                    <i class="ico_index footer-ico04"></i>
                    <span>进货车</span>
                </a>
            </div>
            <div class="p_footer" id="wode">
                <a href="buy/12.0.0buy_wode.html" onclick="goclicked(this)">
                    <i class="ico_index footer-ico05"></i>
                    <span>我的</span>
                </a>
            </div>
        </footer>
    </div>
</body>

<script>
	
    window.onload = function () {
			  var boxArr = $('.public_goods'),
			      num = Math.floor(document.body.clientWidth / boxArr.eq(0).outerWidth(true)),
			      columnHeightArr = [];
			      // columnHeightArr.length = num;
			  boxArr.each(function(index, item) {
			  　　if (index < num) {
			  　　　　columnHeightArr[index] = $(item).position().top + $(item).outerHeight(true);
			  　　} else {
			  　　　　var minHeight = Math.min.apply(null, columnHeightArr),
			             minHeightIndex = $.inArray(minHeight, columnHeightArr);
			  
			  　　　　$(item).css({
			         　　position: 'absolute',
			         　　top: minHeight,
			         　　left: boxArr.eq(minHeightIndex).position().left
			         });
			  
			  　　　　columnHeightArr[minHeightIndex] += $(item).outerHeight(true);
			  　　}
			  });
        getMyTime();
    }
    //1.前面补0
    function p(n) {
        return n < 10 ? '0' + n : n;
    }
    //2.倒计时
    function getMyTime() {
        var te = $("#shijian").val();
        var startDate = new Date();
        if (te == "") {
            te = "2018-01-08 11:10:10";
        }

        te = te.replace(/-/g, ':').replace(' ', ':');
        te = te.split(':');
        var time1 = new Date(te[0], (te[1] - 1), te[2], te[3], te[4], te[5]);
        var countDown = (time1.getTime() - startDate.getTime()) / 1000;
        var h = parseInt(countDown / (60 * 60) % 24);
        var m = parseInt(countDown / 60 % 60);
        var s = parseInt(countDown % 60);
				// console.log(p(h),p(m), p(s))

        document.getElementById('shi').innerHTML = p(h);
        document.getElementById('fen').innerHTML = p(m);
        document.getElementById("miao").innerHTML = p(s);
        setTimeout(getMyTime, 500);
        if (countDown <= 0) {
            document.getElementById('shi').innerHTML = p(0);
            document.getElementById('fen').innerHTML = p(0);
            document.getElementById("miao").innerHTML = p(0)
        }
    }
</script>

<script>
    //alert(getvl("useryemian"));
    if (getvl("useryemian") == 1) {
        $("#jiarujinghuoches").html("");
        var fabu = 'onclick="goclicked1(this)" class="footer_fabu">' +
            '<img  src="images/footer_fabu.png" />' +
            '</a>';
        $("#fabu").append(fabu);
        $("#wode").html("");
        var wode = '<a href="sell/20.0.0sell_wode.html"  onclick="goclicked(this)">' +
            '<i class="ico_index footer-ico05"></i>' +
            '<span>我的</span>' +
            '</a>';
        $("#wode").append(wode);
        $("#zhaohuo").attr("href", "8.0.0zhaohuo.html?useryemian=1");
        $("#shangquan").attr("href", "9.0.0shangquan.html?useryemian=1");
        $("#zhuye").attr("href", "index.html?useryemian=1");
    }
</script>

<script>
    function selectGoods(tui) {
		
        if (tui == 1) {
            ss = 0;
            ss2 = 0;
            ss3 = 0;
            ss4 = 0;
            ss5 = 0;
            ss6 = 0;
            svn = 0;
            $("#goodslist").html("");
            $("#goodslist2").html("");
            $("#goodslist3").html("");
            $("#goodslist4").html("");
            $("#goodslist5").html("");
            $("#goodslist6").html("");
						$("#goodsTitle").html("");

            currentPage1 = 0;
            currentPage2 = 0;
            currentPage3 = 0;
            currentPage4 = 0;
            currentPage5 = 0;
            currentPage6 = 0;
            // selectGoodsList21();
        } else if (tui == 2) {
            svn = 0;
            ss = 0;
            ss2 = 0;
            ss3 = 0;
            ss4 = 0;
            ss5 = 0;
            ss6 = 0;
            $("#goodslist").html("");
            $("#goodslist2").html("");
            $("#goodslist3").html("");
            $("#goodslist4").html("");
            $("#goodslist5").html("");
            $("#goodslist6").html("");
            currentPage1 = 0;
            currentPage2 = 0;
            currentPage3 = 0;
            currentPage4 = 0;
            currentPage5 = 0;
            currentPage6 = 0;
            selectGoodsList22();
        } else if (tui == 3) {
            svn = 0;
            ss = 0;
            ss2 = 0;
            ss3 = 0;
            ss4 = 0;
            ss5 = 0;
            ss6 = 0;
            $("#goodslist").html("");
            $("#goodslist2").html("");
            $("#goodslist3").html("");
            $("#goodslist4").html("");
            $("#goodslist5").html("");
            $("#goodslist6").html("");
            currentPage1 = 0;
            currentPage2 = 0;
            currentPage3 = 0;
            currentPage4 = 0;
            currentPage5 = 0;
            currentPage6 = 0;
            selectGoodsList23();
        } else if (tui == 4) {
            svn = 0;
            ss = 0;
            ss2 = 0;
            ss3 = 0;
            ss4 = 0;
            ss5 = 0;
            ss6 = 0;
            $("#goodslist").html("");
            $("#goodslist2").html("");
            $("#goodslist3").html("");
            $("#goodslist4").html("");
            $("#goodslist5").html("");
            $("#goodslist6").html("");
            currentPage1 = 0;
            currentPage2 = 0;
            currentPage3 = 0;
            currentPage4 = 0;
            currentPage5 = 0;
            currentPage6 = 0;
            selectGoodsList24();
        } else if (tui == 5) {
            ss = 0;
            svn = 0;
            ss2 = 0;
            ss3 = 0;
            ss4 = 0;
            ss5 = 0;
            ss6 = 0;
            $("#goodslist").html("");
            $("#goodslist2").html("");
            $("#goodslist3").html("");
            $("#goodslist4").html("");
            $("#goodslist5").html("");
            $("#goodslist6").html("");
            currentPage1 = 0;
            currentPage2 = 0;
            currentPage3 = 0;
            currentPage4 = 0;
            currentPage5 = 0;
            currentPage6 = 0;
            selectGoodsList25();
        } else if (tui == 6) {
            svn = 0;
            ss = 0;
            ss2 = 0;
            ss3 = 0;
            ss4 = 0;
            ss5 = 0;
            ss6 = 0;
            $("#goodslist").html("");
            $("#goodslist2").html("");
            $("#goodslist3").html("");
            $("#goodslist4").html("");
            $("#goodslist5").html("");
            $("#goodslist6").html("");
            currentPage1 = 0;
            currentPage2 = 0;
            currentPage3 = 0;
            currentPage4 = 0;
            currentPage5 = 0;
            currentPage6 = 0;
            selectGoodsList26();
        }
        $("#tuijians").val(tui);

    } 
    $(window).scroll(function () {    
        if ($(document).scrollTop() >= $(document).height() - $(window).height()) {
            var tui = $("#tuijians").val();
            if (tui == 1) {
                currentPage1++
                selectGoodsList21();
            } else if (tui == 2) {
                currentPage2++
                selectGoodsList22();
            } else if (tui == 3) {
                currentPage3++
                selectGoodsList23();
            } else if (tui == 4) {
                currentPage4++
                selectGoodsList24();
            } else if (tui == 5) {
                //alert(currentPage5)
                currentPage5++
                selectGoodsList25();
            } else if (tui == 6) {
                currentPage6++
                selectGoodsList26();
            }
        }

        // 滚动条距离顶部的距离 大于 200px时
        if ($(window).scrollTop() >= 1034) {

            $(".qiugou_fabu").show();
            /*$(".scroll_top").fadeIn(1000); // 开始淡入*/
        } else {
            $(".qiugou_fabu").hide();
            //alert($(window).scrollTop())
            /*$(".scroll_top").stop(true,true).fadeOut(1000); // 如果小于等于 200 淡出*/
        }  
    });
</script>

<style>
    .tietupian {
        width: 80px;
        height: 20px;
        margin-top: -210px;
    }
</style>
<script>
    $(function () {
			//首页轮播图
			var mySwiper = new Swiper('.swiper-container', {
			    pagination : '.swiper-pagination',
			    loop : true,
			    autoplay : 3000,
			    autoplayDisableOnInteraction : false  /* 注意此参数，默认为true */
			});
        $.ajax({
            url: urlcore + "/api/eachPicture/selectEachPictureListByType?type=12",//之前的接口  /api/adDisplay/findHomePageData2?type=2
            type: "get",
            dataType: 'json',
            contentType: "application/json;charset=utf-8",
            success: function (data) {
                if (data.success == true) {
                    var lunbotus = "";
										for (let obj of data.data) {
											if (obj.auctionType == 1) {
												lunbotus += '<li class="swiper-slide"><a href="6.0.0dianpu.html?id=' + obj.auctionId + '"><img onerror="errorImg(this)" src="' + obj.imgUrl +'"></a></li>';
											}
											if (obj.auctionType == 2) {
												lunbotus += '<li class="swiper-slide"><a href="7.0.0goods_detail.html?id=' + obj.auctionId +'"><img onerror="errorImg(this)" src="' + obj.imgUrl +'"></a></li>';
											}
											if (obj.auctionType == 3) {
												 lunbotus += '<li class="swiper-slide"><a href="' + obj.auctionHttpUrl +'"><img onerror="errorImg(this)" src="' + obj.imgUrl +'"></a></li>';
											}
										}

                    $("#lunbotus").html(lunbotus);
                    var zb = data.data.zbDirectSeedingList;
                    var sun = 0;
                    var zballs = '<div class="index_tuijian_title">' +
                        '<a href="2.1.0zhibo.html">' +
                        '<h3><i class="i_tuijian"></i>直播</h3>' +
                        '</a>' +
                        '</div>' +
                        '<div class="clearfix">';
                    $.each(zb, function (i, n) {
                        sun++;

                        if (sun <= 3) {
                            var time = n.startTime;
                            var year = time.substr(0, 4);
                            var index1 = time.indexOf("-");
                            var index2 = time.lastIndexOf("-");
                            var cha = parseInt(index2) - (parseInt(index1) + 1);
                            var month = time.substr((parseInt(index1) + 1), cha);
                            var kg = time.indexOf(" ");
                            cha = parseInt(kg) - parseInt(index2);
                            var day = time.substr(parseInt(index2) + 1, cha);
                            var mh = time.indexOf(":");
                            cha = parseInt(mh) - (parseInt(kg) + 1);
                            var hour = time.substr(parseInt(kg) + 1, cha);
                            var mh2 = time.lastIndexOf(":");
                            cha = parseInt(mh2) - (parseInt(mh) + 1);
                            var fen = time.substr(parseInt(mh) + 1, cha);
                            zballs +=
                                '<dl class="index_miaosha">';
                            if (n.status == 2) { //正在直播
                                zballs += '<a href="2.2.1zhibo_kaibo_detail.html?zbid=' + n
                                    .id + '">';
                            } else if (n.status == 3) { //历史直播
                                zballs += '<a href="2.2.1zhibo_kaibo_detail.html?zbid=' + n
                                    .id + '">';
                            } else if (n.directType == 2) {
                                zballs += '<a href="2.1.0zhibo.html">';
                            } else {
                                zballs += '<a href="2.1.1zhibo_weibo_detail.html?id=' + n.id +
                                    '">';
                            }

                            zballs += '<dt>' +
                                '<div class="div-a">' +
                                '<img onerror="errorImg(this)" src="' + n.imgUrl + '">' +
                                '</div>'
                            '</dt>';
                            /* 1表示直播预告,2表示直播中,3表示历史直播，4表示拒绝直播5删除直播',*/
                            /*   `direct_type` int(11) DEFAULT '1' COMMENT '默认1表示公共直播，2表示私密直播',*/

                            zballs += '<dd>' +
                                '<h6>' + n.title + '</h6>' +
                                '<span>' + month + '-' + day + '' + hour + ':' + fen +
                                '</span>' +
                                '</dd>' +
                                '</a>';
                            if (n.status == 1) {
                                zballs += '<center><div class="div-b">' +
                                    '<img src="images/yugao.png" class="tietupian"/>' +
                                    '</div></center>';
                            } else if (n.status == 2) {
                                zballs += '<center><div class="div-b">' +
                                    '<img src="images/zhengzai.png" class="tietupian"/>' +
                                    '</div></center>';
                            } else if (n.status == 3) {
                                zballs += '<center><div class="div-b">' +
                                    '<img  src="images/lishi.png" class="tietupian"/>' +
                                    '</div></center>';
                            }
                            zballs += '</dl>';
                        }
                    });
                    zballs += '</div>';
                    $('#zballs').append(zballs);
                }

                $(function () {
                    var swiper = new Swiper('.swiper-container', {
                        pagination: '.swiper-pagination',
                        slidesPerView: 3,
                        paginationClickable: true,
                        spaceBetween: 30
                    });

                    $('.w_xxtab_tit li').on('click', function () {
                        //获得当前被点击的元素索引值
                        var Index = $(this).index();
                        //给菜单添加选择样式
                        $(this).addClass('curr').siblings().removeClass('curr');
                        //显示对应的div
                        $('.w_xxtaba').children('div').eq(Index).show().siblings(
                            'div').hide();

                    });
                    xianshi();
                    selectGoodsList21();
                    quhoutai();
                });

                TouchSlide({
                    slideCell: "#slideBox",
                    titCell: ".hd ul", //开启自动分页 autoPage:true ，此时设置 titCell 为导航元素包裹层
                    mainCell: ".bd ul",
                    effect: "leftLoop",
                    autoPage: true, //自动分页
                    autoPlay: true //自动播放
                });
                $(function () {
                    var swiper = new Swiper('.swiper3', {
                          pagination: '.swiper-pagination4',
                        paginationClickable: true,
                        direction: 'vertical',
                        autoplay: 2500,
                        autoplayDisableOnInteraction: false
                    });
                });
            },
            error: function () {
                alert("error");
            }
        });

        //findHomePageData();
        //selectGoodsList();
       //下单信息滚动
			  setNoticeList();
			//买家求购和厂家收购的请求 
				qiugou()
    });
		// 下单信息滚动
    function setNoticeList() {
     $.ajax({
     		url: urlcore + "/api/message/selectMessageList",
     		type: "get",
     		dataType: 'json',
     		contentType: "application/json;charset=utf-8",
     		success: function (json) {
					if (json.data && json.success) {
						var zhongLunbo="";
						var message = '<li class="clearfix">' +'<div class="swiper-container swiper3">' +'<div class="swiper-wrapper" >';
						$.each(json.data, function (y, n) {
							message += '<div class="swiper-slide"  >' +
										'<a href="2.0.6xitongxiaoxi.html">' + n.title + '</a>' +
										'</div>';
						});
						message += '</div>' +	'</div>' +'</li>';
						$("#message").append(message); 
					}
				}
        }) 
     }
		 //买家求购、厂家收购、正在热卖、新品上市等请求
		function qiugou(){
			$.ajax({
				url: urlcore + "/api/advertissing/selectAlls",//advertissing/selectAlls
				type: "get",
				dataType: 'json',
				contentType: "application/json;charset=utf-8",
				success: function (json) {
					 //买家求购 
					 var qiugoutitle='<h5>买家求购</h5>'+
					 '<p>应有尽有</p>';
					var qiugou='<img onerror="errorImg(this)"  src="'+json.data[0].Advertising_urls+'"> ';
					$(".index_dd").append(qiugou);
					$('.qiugoupingtai').append(qiugoutitle);

					// 厂家收购
					var shougou='<img  onerror="errorImg(this)"  src="'+json.data[1].Advertising_urls+'">';
					 $(".index_dd1").append(shougou);
					 var qiugoutitle1='<h5>'+json.data[1].Advertising_advertisingName+'</h5>'+
					 			'<p>各种扫码</p>';
						$('.qiugoupingtai1').append(qiugoutitle1);		
					// 限时抢购
// 					var xianShi='<img src="'+json.data[2].Advertising_urls+'" />'
// 					$(".zhongjjian>div").append(xianShi);rightList
					// 限时抢购旁边的图片
					var xianShi='<img src="'+json.data[2].Advertising_urls+'" />'
					$("#rightList").append(xianShi);
					//品牌大本营和新品上新
					 var pin='<div class="ying_left">'+
				         '<img src="'+json.data[11].Advertising_urls+'">'+
								 '<p>'+json.data[11].Advertising_advertisingName+'</p>'+
								'</div>'+
								'<div class="ying_right">'+
									'<div class="ying_right_left">'+
										'<h3>新品上新</h3>'+
										'<p>新款爆款随你挑</p>'+
									'</div>'+
									'<div class="ying_right_right">'+
										'<img src="'+json.data[3].Advertising_urls+'"/>'+
									'</div>'+
								'</div>';
						$(".ying").append(pin);		
				}
		})
		}
		 //时间的请求 
    function xianshi() {
        $.ajax({
            url: urlcore + "/api/rushTime/getRushTime" ,
            type: "get",
            dataType: 'json',
            contentType: "application/json;charset=utf-8",
            success: function (data) {
                if (data.success == true) {
                    if (data.data.list != null) {
                        $.each(data.data.list, function (y, n) {
                            $("#shijian").val(n.rush_time);
                        });

                    } else {
                        var dd = new Date();
                        dd.setDate(dd.getDate()); //获取AddDayCount天后的日期
                        var y = dd.getFullYear();
                        var m = dd.getMonth() + 1; //获取当前月份的日期
                        var d = dd.getDate();
                        var thisdata2 = '' + y + '-' + m + '-' + d + ' 24:59:59';
                        $("#shijian").val(thisdata2);
                    }

                } else {
                    var dd = new Date();
                    dd.setDate(dd.getDate()); //获取AddDayCount天后的日期
                    var y = dd.getFullYear();
                    var m = dd.getMonth() + 1; //获取当前月份的日期
                    var d = dd.getDate();
                    var thisdata2 = '' + y + '-' + m + '-' + d + ' 24:59:59';
                    $("#shijian").val(thisdata2);
                }
            },
            error: function () {
                alert("error");
            }
        });

    }
</script>


</html>
